﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 9/3/2009
 * Time: 3:19 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

namespace Buaya.Model
{
	/// <summary>
	/// Description of Shift.
	/// </summary>
	public class Shift
	{
		int id;
		
		public virtual int Id {
			get { return id; }
			set { id = value; }
		}
		string notes;
		
		public virtual string Notes {
			get { return notes; }
			set { notes = value; }
		}
		bool inactive;
		
		public virtual bool Inactive {
			get { return inactive; }
			set { inactive = value; }
		}
		double regularHours;
		
		public virtual double RegularHours {
			get { return regularHours; }
			set { regularHours = value; }
		}
		double gracePeriod;
		
		public virtual double GracePeriod {
			get { return gracePeriod; }
			set { gracePeriod = value; }
		}
		
		public Shift()
		{
		}
	}
	
	public class ShiftTime
	{
		int id;
		
		public virtual int Id {
			get { return id; }
			set { id = value; }
		}
		Shift shift;
		
		public virtual Shift Shift {
			get { return shift; }
			set { shift = value; }
		}
		int timeIn;
		
		public virtual int TimeIn {
			get { return timeIn; }
			set { timeIn = value; }
		}
		int timeOut;
		
		public virtual int TimeOut {
			get { return timeOut; }
			set { timeOut = value; }
		}
		
		public ShiftTime()
		{
		}
	}
}
